export default function fetchDevStatusStatisticsData(type: string) {
  switch (type) {
    case 'service':
      return [
        {
          status: '正常',
          value: 239,
        },
        {
          status: '暂停服务',
          value: 12,
        },
        {
          status: '正在维护',
          value: 5,
        },
        {
          status: '离线',
          value: 9,
        },
      ];
    case 'hardware':
      return [
        {
          status: '正常',
          value: 242,
        },
        {
          status: '故障',
          value: 14,
        },
        {
          status: '未知',
          value: 9,
        },
      ];
    case 'resource':
      return [
        {
          status: '正常',
          value: 235,
        },
        {
          status: '预警',
          value: 21,
        },
        {
          status: '未知',
          value: 9,
        },
      ];
    case 'network':
      return [
        {
          status: '正常',
          value: 259,
        },
        {
          status: '断网',
          value: 9,
        },
      ];
    default:
      return [];
  }
}
